﻿using System;
using Gin.Transactions;

namespace Gin.Commands
{
    public abstract class TransactionalCommand : Command
    {
        public abstract TransactionStep Do(ExecutionContext context, Transaction transaction);
        public abstract void Rollback(TransactionStep step);
    }
}
